import AgencySettingComp from "containers/setting/agency-setting/agency-setting"
import NewAgencyComp from "containers/setting/agency-setting/new-agency"
import AgencyDetailComp from "containers/setting/agency-setting/agency-detail"

//代理设置
const AgencySettingMenu =
  {
    key: "agency-setting",
    url: "/main/setting/agency-setting",
    components: AgencySettingComp,
    parent: "setting",
    children: {
      //新建代理
      newAgency: {
        key: "new-agency",
        url: "/main/setting/agency-setting/new-agency",
        components: NewAgencyComp,
        parent: "agency-setting"
      },
      //代理详情
      agencyDetail: {
        key: "agency-detail",
        url: "/main/setting/agency-setting/agency-detail/:principalOID",
        components: AgencyDetailComp,
        parent: "agency-setting"
      }
    }
  };
export default AgencySettingMenu;
